<%@page import="java.util.Properties"%>
<%@page import="com.office.automate.frontier.utility.Utility"%>
<%@page import="com.office.automate.configuration.property.ConfigurationProperties"%>
<%@page import="com.office.automate.model.authenticate.UserAuthenticator"%>
<% 
	UserAuthenticator currentUserSessionMn3 = (UserAuthenticator) (session.getAttribute("currentSessionUser"));
	if (currentUserSessionMn3 == null) {
		return;
	}
	Properties configSeqProps3 = ConfigurationProperties.getProps(); 
	Utility util3 = new Utility(currentUserSessionMn3.getSecurityLevels());
%>
	<tr>
		<td>
			<div id='cssmenu' align="center">
				<ul>
					<li><a href='/OfficeAutomation/jsp/HomePage.jsp'><span>Home</span></a></li>
					<% if (util3.isFunctionalSecurityAllow(configSeqProps3.getProperty("DAILY_ATTENDANCE"))) { %>
					<li><a href='/OfficeAutomation/jsp/employee/EmployeeAttendance.jsp'><span>Daily Attendance</span></a></li>
					<%
						}
					if (util3.isFunctionalSecurityAllow(configSeqProps3.getProperty("APPLY_LEAVE"))) { 
					%>					
					<li><a href='/OfficeAutomation/jsp/leave/ApplyForLeave.jsp'><span>Apply Leave</span></a></li>
					<%
						}
					if (util3.isFunctionalSecurityAllow(configSeqProps3.getProperty("APPROVE_LEAVE"))) { 
					%>					
					<li><a href='/OfficeAutomation/jsp/leave/ApproveLeave.jsp'><span>Approve Leave</span></a></li>
					<%
						}
					if (util3.isFunctionalSecurityAllow(configSeqProps3.getProperty("APPLY_FOR_LIEU_LEAVE"))) { 
					%>					
					<li><a href='/OfficeAutomation/jsp/leave/RequestForLieuLeave.jsp'><span>Apply For Lieu Leave</span></a></li>
					<%
						}
					if (util3.isFunctionalSecurityAllow(configSeqProps3.getProperty("APPROVE_LIEU_LEAVE"))) { 
					%>						
					<li><a href='/OfficeAutomation/jsp/leave/ApproveLieuLeave.jsp'><span>Approve Lieu Leave</span></a></li>	
					<%
						}
					%>							
				</ul>
			</div>
		</td>
	</tr>